.\" Automatically generated by Pandoc 2.13
.\"
.TH "DFCACHE" "1" "" "Version v2.1.0" "Frivolous \[lq]Dfcache\[rq] Documentation"
.hy
.SH NAME
.PP
\f[B]dfcache import\f[R] \[em] import file into P2P cache system
.SH SYNOPSIS
.PP
Import file into P2P cache system.
.IP
.nf
\f[C]
dfcache import <-i cid> <file>|<-I file> [flags]
\f[R]
.fi
.SS OPTIONS
.IP
.nf
\f[C]
  -i, --cid string            content or cache ID, e.g. sha256 digest of the content
      --config string         the path of configuration file with yaml extension name, default is /etc/dragonfly/dfcache.yaml, it can also be set by env var: DFCACHE_CONFIG
      --console               whether logger output records to the stdout
      --jaeger string         jaeger endpoint url, like: http://localhost:14250/api/traces
      --logdir string         Dfcache log directory
      --pprof-port int        listen port for pprof, 0 represents random port (default -1)
      --service-name string   name of the service for tracer (default \[dq]dragonfly-dfcache\[dq])
  -t, --tag string            different tags for the same cid will be recognized as different  files in P2P network
      --timeout duration      Timeout for this cache operation, 0 is infinite
      --verbose               whether logger use debug level
      --workhome string       Dfcache working directory
  -h, --help           help for import
  -I, --input string   import the given file into P2P network
\f[R]
.fi
.SH SEE ALSO
.IP \[bu] 2
dfcache - the P2P cache client of dragonfly
